/*
 * Shooter.h
 *
 *  Created on: Sep 30, 2012
 *      Author: Administrator
 */

#ifndef SHOOTER_H_
#define SHOOTER_H_

#include <FMedia.h>

class Shooter :
	public Osp::Media::ICameraEventListener
{
public:
	Shooter();
	virtual ~Shooter();
	// Camera listener interface
	void  OnCameraAutoFocused (bool completeCondition);
	void  OnCameraCaptured (Osp::Base::ByteBuffer &capturedData, result r);
	void  OnCameraErrorOccurred (Osp::Media::CameraErrorReason r);
	void  OnCameraPreviewed (Osp::Base::ByteBuffer &previewedData, result r);

private:
	Osp::Media::Camera* camera;

};

#endif /* SHOOTER_H_ */
